package cn.com.gas.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import cn.com.gas.mapper.GasAnalyseRegionRankingMapper;
import cn.com.gas.entity.GasAnalyseRegionRankingEntity;
import cn.com.gas.service.GasAnalyseRegionRankingService;


@Service("gasAnalyseRegionRankingService")
public class GasAnalyseRegionRankingServiceImpl extends ServiceImpl<GasAnalyseRegionRankingMapper, GasAnalyseRegionRankingEntity> implements GasAnalyseRegionRankingService {

	
	@Autowired
	private GasAnalyseRegionRankingMapper gasAnalyseRegionRankingMapper;
	

	@Override
	public GasAnalyseRegionRankingEntity groupYearMonth(GasAnalyseRegionRankingEntity gasAnalyseRegionRanking) {
		return gasAnalyseRegionRankingMapper.groupYearMonth(gasAnalyseRegionRanking);
	}


	@Override
	public void realRemoveByMonthYear(String monthYear) {
		gasAnalyseRegionRankingMapper.realRemoveByMonthYear(monthYear);
		
	}


	@Override
	public GasAnalyseRegionRankingEntity groupYearMonthAmountGasoline(GasAnalyseRegionRankingEntity gasAnalyseRegionRanking) {
		
		return gasAnalyseRegionRankingMapper.groupYearMonthAmountGasoline(gasAnalyseRegionRanking);
	}

	@Override
	public GasAnalyseRegionRankingEntity groupYearMonthAmountDiesel(
			GasAnalyseRegionRankingEntity gasAnalyseRegionRanking) {
		
		return gasAnalyseRegionRankingMapper.groupYearMonthAmountDiesel(gasAnalyseRegionRanking);
	}


}